<?php

use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
//病历夹二维码
Route::any('/dossier', 'QrCodeController@dossier');
Route::any('/dossierAndroid', 'QrCodeController@dossierandroid');

//二维码
Route::get('user/testIm', 'UserController@testIm');
Route::get('/qr', 'QrCodeController@index');
Route::get('/qrr', 'QrCodeController@createTest');

//门店二维码
Route::any('home/storeQrcode', 'QrCodeController@storeQrcode');

Route::get('/professional', 'ProfessionalController@index');

//微信登录
Route::any('auth/wechatLogin', 'Auth\LoginController@wechatLogin');
//绑定手机号
Route::any('auth/bindPhone', 'Auth\LoginController@bindPhone');
//单个推送
Route::any('pushmessage/pushUser', 'PushMessageController@pushUser');
//多人推送
Route::any('pushmessage/pushManyUsers', 'PushMessageController@pushManyUsers');
//腾讯云验证码
Route::any('verificatcode/doValidate', 'VerificatCodeController@doValidate');

Route::any('index/cheakWorks', 'IndexController@cheakWorks');
# 用户信息
//Route::middleware('auth:api')->get('/userInfo', 'UserController@userInfo');
//注册登录业务处理组
Route::get('/sms', 'SmsController@sendSmsCode');
Route::group(['middleware' => ['api.access']], function () {
    /*==================客户端登录====================*/
    //短信验证码

    //图片验证码
    Route::post('/captchas', 'CaptchaController@captchaCode');
    //图片验证码获取
    Route::get('/getcode', 'CaptchaController@getCapthCode');
    //注册接口
    Route::post('/register', 'Auth\RegisterController@register');
    #登录
    Route::post('/login', 'Auth\LoginController@login');
    //修改密码
    Route::any('/rest', 'Auth\LoginController@ResetPassword');
    //前台用户注册协议
    Route::any('/treaty', 'TreatyController@index');
    /*==================医护端登录====================*/
    //工作室登录和医生登录接口
    Route::any('/doctorLogin', 'DoctorLoginController@Login');
    //登录-忘记密码
    Route::any('/resetpassword', 'DoctorLoginController@ResetPassword');

});

//客户端正常业务处理组
Route::group(['middleware' => ['api.auth']], function () {
    //申请提现
    Route::any('withdrawal/addWithdrawal', 'WithdrawalLogController@addWithdrawal');
    Route::any('user/sms', 'SmsController@sendSmsCode');
    //获取用户信息
    Route::any('/userInfo', 'UserController@userInfo');
    //退出
    Route::any('user/loginOut', 'UserController@loginOut');
    //全国省获取
    Route::get('/getprovince', 'AreaController@GetProvince');
    //市级获取
    Route::get('/getcity', 'AreaController@GetCity');
    //获取所有县级城市
    Route::any('area/getAllCitys', 'AreaController@getAllCitys');

    Route::any('area/getLatLngByAddress', 'AreaController@getLatLngByAddress');
    //通过经纬度获取地址
    Route::any('area/getAddressByLatLng', 'AreaController@getAddressByLatLng');
    //县级获取
    Route::get('/getdistrict', 'AreaController@GetDistrict');
    //对应前端-病情描述-新建
    Route::any('/casecreate', 'CaseDescribeController@create');
    //=====================================================================
    //Route::any('course/list', 'CourseController@index');
    Route::any('course/info', 'CourseController@show');
    Route::any('course/chapterDetail', 'CourseController@chapterDetail');
    //课程列表
    Route::any('/course/list', 'CourseController@index');
    //出院须知
    Route::any('/course/leaveHospital', 'CourseController@leaveHospital');
    //收藏课程/取消收藏
    Route::any('course/courseCollect', 'CourseController@courseCollect');
    //收藏课程列表
    Route::any('course/getCollectList', 'CourseController@getCollectList');

    //收藏课程列表
    Route::any('course/getCollectListDataAndroid', 'CourseController@getCollectListDataAndroid');

    //添加订单(单品)
    Route::any('order/setOrders', 'OrderController@create');
    //订单列表
    Route::any('order/list', 'OrderController@index');
    //我的课程
    Route::any('order/getMyCourseList', 'OrderController@getMyCourse');
    //申请发票
    Route::any('order/applyInvoice', 'OrderController@applyInvoice');
    //申请售后
    Route::any('order/addAfterSales', 'OrderController@addAfterSales');
    //订单详情
    Route::any('order/getOrderDetail', 'OrderController@getOrderDetail');
    //确认收货
    Route::any('order/confirmReceipt', 'OrderController@confirmReceipt');
    //支付
    Route::any('order/doPay', 'OrderController@doPay');
    //医护端咨询管理列表
    Route::any('order/getDoctorConsultList', 'OrderController@getDoctorConsultList');
    //添加评论
    Route::any('evaluate/addEvaluateContent', 'EvaluateController@create');
    //评论列表
    Route::any('evaluate/getEvaluateList', 'EvaluateController@index');
    //工作室所有评论列表
    Route::any('evaluate/workAlEvaluatelList', 'EvaluateController@workAllList');
    //获取token
    Route::any('home/getEasemobToken', 'HomeController@getEasemobToken');
    //设置tpnstoken
    Route::any('home/setTpnsToken', 'HomeController@setUserToken');
    //创建群组
    Route::any('home/makeChatRoom', 'HomeController@makeChatRoom');

    Route::any('home/isUsersOnline', 'HomeController@isUsersOnline');
    //删除群主
    Route::any('home/dissolveChatRoom', 'HomeController@dissolveChatRoom');
//    发送测试消息
    Route::any('home/sendTextBySdkTest', 'HomeController@sendTextBySdkTest');
    //给群发系统消息
    Route::any('home/sendGroupText', 'HomeController@sendGroupText');
    //获取轮播图
    Route::any('home/getTopImgs', 'HomeController@getTopImgs');
    //添加足迹
    Route::any('home/addFootPrint', 'HomeController@addFootPrint');
    //获取足迹
    Route::any('home/getFootPrint', 'HomeController@getFootPrint');

    Route::any('home/getFootPrintIos', 'HomeController@getFootPrintIos');
    //添加/编辑收货地址
    Route::any('home/addAddress', 'HomeController@addAddress');
    //获取收货地址
    Route::any('home/getAddressList', 'HomeController@getAddressList');
    //获取收货详情
    Route::any('home/getAddressDetail', 'HomeController@getAddressDetail');
    //删除收货地址
    Route::any('home/delAddress', 'HomeController@delAddress');
    //获取帮助分类
    Route::any('home/getHelpCates', 'HomeController@getHelpCates');
    //获取帮助分类
    Route::any('home/getHelpCatesAnswer', 'HomeController@getHelpCatesAnswer');
    //获取问题详情
    Route::any('home/getHelpCatesAnswerDetail', 'HomeController@getHelpCatesAnswerDetail');
    //平台文化
    Route::any('home/getCulturesDetail', 'HomeController@getCulturesDetail');
    //供应商入驻
    Route::any('home/addSuppliers', 'HomeController@addSuppliers');
    //课程分类
    Route::any('home/getCourseCategoryList', 'HomeController@getCourseCategoryList');
    //医护室和问诊分类
    Route::any('home/getWorksCategoryList', 'HomeController@getWorksCategoryList');
    Route::any('home/getTargetCategoryList', 'HomeController@getTargetCategoryList');
    //商品分类
    Route::any('home/getGoodsCategoryList', 'HomeController@getGoodsCategoryList');
    //工作室自己的分类
    Route::any('home/getWorkSelfCategoryList', 'HomeController@getWorkSelfCategoryList');
    //获取地区列表
    Route::any('home/getAreasList', 'HomeController@getAreasList');
    //获取地区列表
    Route::any('home/getAddressByPid', 'HomeController@getAddressByPid');
    //商品详情
    Route::any('work/getGoodsDetail', 'DoctorWorksController@getGoodsDetail');
    //入驻工作室
    Route::any('work/addWorks', 'DoctorWorksController@create');
    //获取工作室列表
    Route::any('work/getWorksList', 'DoctorWorksController@index');
    //工作室详情
    Route::any('work/getWorkDetail', 'DoctorWorksController@show');
    //关注工作室/医师
    Route::any('work/addFollow', 'DoctorWorksController@addFollow');
    //获取关注工作室/医师
    Route::any('work/getFollowList', 'DoctorWorksController@getFollowList');
    //获取商品列表
    Route::any('work/getGoodsList', 'DoctorWorksController@getGoodsList');
    //获取康养商品列表
    Route::any('work/getHealthGoodsList', 'DoctorWorksController@getHealthGoodsList');
    //获取康养商品分类列表
    Route::any('work/getHealthCategoryList', 'DoctorWorksController@getHealthCategoryList');
    //获取员工信息通过work_id
    Route::any('work/getDoctorByWorkId', 'DoctorWorksController@getDoctorByWorkId');
    //文章列表
    Route::any('article/list', 'ArticleController@index');
    //文章详情
    Route::any('article/detail', 'ArticleController@show');
    //文章点赞
    Route::any('article/like', 'ArticleController@create');
    //医护列表
    Route::any('doctor/list', 'DoctorController@index');
    //医护详情
    Route::any('doctor/detail', 'DoctorController@show');
    //医护分类
    Route::any('doctor/cateList', 'DoctorController@cateList');
    //添加我的医师
    Route::any('doctor/addMyDoctor', 'DoctorController@addMyDoctor');
    //我的医师列表
    Route::any('doctor/getMyDoctorList', 'DoctorController@getMyDoctorList');
    //添加反馈意见
    Route::any('doctor/addFeedBack', 'DoctorController@addFeedBack');
    //添加预约(作废)
    Route::any('doctor/makeAppointment', 'DoctorController@makeAppointment');
    //添加咨询数
    Route::any('doctor/addConsult', 'DoctorController@addConsult');
    //打赏
    Route::any('doctor/addReward', 'DoctorController@addReward');
    //病例列表
    Route::any('casedescribe/getMyCase', 'CaseDescribeController@getMyCase');
    //删除病例
    Route::any('casedescribe/delCaseDescribe', 'CaseDescribeController@delCaseDescribe');
//    删除标签
    Route::any('casedescribe/delReportLabel', 'CaseDescribeController@delReportLabel');
    //病例详情
    Route::any('casedescribe/getMyCaseDetail', 'CaseDescribeController@getMyCaseDetail');
    //添加用药提醒
    Route::any('casedescribe/addHealthReminder', 'CaseDescribeController@addHealthReminder');
    //用药提醒列表
    Route::any('casedescribe/getHealthReminder', 'CaseDescribeController@getHealthReminder');
    //删除用药提醒
    Route::any('casedescribe/delHealthReminder', 'CaseDescribeController@delHealthReminder');
    //用药提醒详情
    Route::any('casedescribe/getHealthReminderDetail', 'CaseDescribeController@getHealthReminderDetail');
    //添加/编辑病例文件夹
    Route::any('casedescribe/addCaseReport', 'CaseDescribeController@addCaseReport');
    //获取病例文件夹列表
    Route::any('casedescribe/getCaseReportList', 'CaseDescribeController@getCaseReportList');
    //获取病例文件夹列表Android使用
    Route::any('casedescribe/getCaseReportListAndroid', 'CaseDescribeController@getCaseReportListAndroid');
    //删除病例文件夹
    Route::any('casedescribe/delCaseReport', 'CaseDescribeController@delCaseReport');
    //添加病历夹关联
    Route::any('casedescribe/relationshipCase', 'CaseDescribeController@relationshipCase');
    //添加/编辑备忘录
    Route::any('casedescribe/addMemos', 'CaseDescribeController@addMemos');
    //获取备忘录列表
    Route::any('casedescribe/getMemoList', 'CaseDescribeController@getMemoList');

    Route::any('casedescribe/getMemoListAndroid', 'CaseDescribeController@getMemoListAndroid');
    Route::any('casedescribe/detailMemos', 'CaseDescribeController@detailMemos');
    //删除备忘录
    Route::any('casedescribe/delMemos', 'CaseDescribeController@delMemos');
    //添加指标
    Route::any('casedescribe/addTargets', 'CaseDescribeController@addTargets');
    //获取指标
    Route::any('casedescribe/getTargetsList', 'CaseDescribeController@getTargetsList');
    //获取指标
    Route::any('casedescribe/delTargets', 'CaseDescribeController@delTargets');
    //添加指标记录
    Route::any('casedescribe/addTargetsLogs', 'CaseDescribeController@addTargetsLogs');
    //获取指标记录列表
    Route::any('casedescribe/getTargetsLogList', 'CaseDescribeController@getTargetsLogList');
//    android使用
    Route::any('casedescribe/getTargetsLogListAndroid', 'CaseDescribeController@getTargetsLogListAndroid');
    //指标记录统计图
    Route::any('casedescribe/getTargetsStatistical', 'CaseDescribeController@getTargetsStatistical');
    Route::any('casedescribe/getTargetsStatisticalAndroid', 'CaseDescribeController@getTargetsStatisticalAndroid');
    //日历显示
    Route::any('casedescribe/getCalendarStatistical', 'CaseDescribeController@getCalendarStatistical');
    //删除指标记录
    Route::any('casedescribe/delTargetsLog', 'CaseDescribeController@delTargetsLog');
    //添加病例标签
    Route::any('casedescribe/addReportLabel', 'CaseDescribeController@addReportLabel');
    //获取病例标签
    Route::any('casedescribe/getReportLabelList', 'CaseDescribeController@getReportLabelList');
    //解除病例标签
    Route::any('casedescribe/cancleRelationshipCase', 'CaseDescribeController@cancleRelationshipCase');
    //提交病例描述
    Route::any('casedescribe/setCaseDescribe', 'CaseDescribeController@setCaseDescribe');
    //获取病例文件夹下的文章
    Route::any('casedescribe/getWorksArticle', 'CaseDescribeController@getWorksArticle');
    //信息发布
    Route::any('store/addStore', 'StoreController@create');
    //商圈列表
    Route::any('store/list', 'StoreController@index');
    //商铺详情
    Route::any('store/detail', 'StoreController@show');
    //商圈支付
    Route::any('store/storePay', 'StoreController@storePay');
    //商圈支付类型
    Route::any('store/getStorePayType', 'StoreController@getStorePayType');
    //商圈分类
    Route::any('store/storeCategory', 'StoreController@storeCategory');
    //修改个人资料
    Route::any('user/updateUserInfo', 'UserController@updateUserInfo');
    //修改银行卡信息
    Route::any('user/updateUserBank', 'UserController@updateUserBank');
    //注销账号
    Route::any('user/cancelUserInfo', 'UserController@cancelUserInfo');
    //上传图片
    Route::any('upload/doUploadFile', 'UploadFileController@doUploadFile');
});

//医护端正常业务逻辑处理组
Route::group(['middleware' => ['doctor.auth']], function () {
    //医护端
    //退出
    Route::any('user/loginDoctorOut', 'UserController@loginDoctorOut');
    //获取医护端用户信息
    Route::any('/getUser', 'DoctorLoginController@getUser');
    //医护端退出登录
    Route::any('/destroy', 'DoctorLoginController@UserDestroy');
    //医护端-我的-设置-账户与安全修改密码
    Route::any('/reset', 'ResetPassController@reset');
    //医护端-我的-设置-账户与安全注销
    Route::any('/destruction', 'DestructionController@destruction');
    //医护端-我的-设置-账户与安全换绑手机号
    Route::post('/boundphone', 'BoundPhoneController@BoundPhone');
    //医护端-我的-个人信息-医院修改
    Route::any('/hospital', 'PersonalDetailsController@hospital');
    //医护端-我的-个人信息-擅长修改
    Route::any('/beadeptat', 'PersonalDetailsController@beadeptat');
    //医护端-我的-个人信息-职称修改
    Route::any('/certificate', 'PersonalDetailsController@professionalId');
    //医护端-我的-粉丝列表
    Route::any('/fans', 'FansController@fans');
    //医护管理
    Route::any('doctor/getWorkDoctorList', 'DoctorController@getWorkDoctorList');
    //医护管理(添加/编辑)
    Route::any('doctor/addDoctor', 'DoctorController@addDoctor');
    //获取工作室管理员
    Route::any('doctor/responsiblePerson', 'DoctorController@responsiblePerson');
    //修改密码
    Route::any('doctor/updatePassword', 'DoctorController@updatePassword');
    //删除医生
    Route::any('doctor/deleteDoctor', 'DoctorController@deleteDoctor');
    //订单列表
    Route::any('order/doctorOrderList', 'OrderController@doctorOrderList');
    //添加工作室自己的分类
    Route::any('doctor/addSelfCategory', 'DoctorController@addSelfCategory');
    //医护室端文章详情
    Route::any('article/doctorDetail', 'ArticleController@detail');
    //文章确认选品
    Route::any('article/addRelateArticles', 'ArticleController@addRelateArticles');
    //添加选品记录
    Route::any('article/addSelectedArticle', 'ArticleController@addSelectedArticle');
    //删除选品记录
    Route::any('article/delSelectedArticle', 'ArticleController@delSelectedArticle');
    //已选选品记录(未提交)
    Route::any('article/getSelectedArticle', 'ArticleController@getSelectedArticle');
    //公益库
    Route::any('article/getAllArticleList', 'ArticleController@getAllArticleList');
    //我的文章
    Route::any('article/myArticles', 'ArticleController@myArticles');
    //删除我的文章
    Route::any('article/delMyArticles', 'ArticleController@delMyArticles');
    //修改广告图
    Route::any('work/updateImage', 'DoctorWorksController@update');
    //修改工作室地址
    Route::any('work/updateWorkAddress', 'DoctorWorksController@updateWorkAddress');
    //修改工作室信息
    Route::any('work/updateWorkInfo', 'DoctorWorksController@updateWorkInfo');
    //修改工作室绑定账号
    Route::any('work/bindBankCard', 'DoctorWorksController@bindBankCard');
    //工作室账号详情
    Route::any('work/bankCardInfo', 'DoctorWorksController@bankCardInfo');
    //公益库
    Route::any('article/getAllArticleList', 'ArticleController@getAllArticleList');
    //科普文章发布
    Route::any('article/addArticle', 'ArticleController@addArticle');
   //IOS发布课程
    Route::any('course/addCoursesIos', 'CourseController@addCoursesIos');
    //删除课程
    Route::any('course/delCourse', 'CourseController@delCourse');
    //发布课程
    Route::any('course/addCourses', 'CourseController@addCourses');
    //添加章节
    Route::any('course/addCourseSection', 'CourseController@addCourseSection');
    //视频库
    Route::any('course/getAllCoursesList', 'CourseController@getAllCoursesList');
    //课程提交选品
    Route::any('course/addRelateCourses', 'CourseController@addRelateCourses');
    //获取课程详情
    Route::any('course/getCourseDetailForDoctor', 'CourseController@getCourseDetailForDoctor');
    //医护端我的课程
    Route::any('course/myCourses', 'CourseController@myCourses');
    //共享课程
    Route::any('course/shareCourses', 'CourseController@shareCourses');
    //需求采购
    Route::any('goods/purchase', 'GoodsController@purchase');
    //商品详情
    Route::any('goods/goodsDetail', 'GoodsController@goodsDetail');
    //添加选中商品
    Route::any('goods/addRelateGoods', 'GoodsController@addRelateGoods');
    //选品库
    Route::any('goods/getAllGoodsList', 'GoodsController@getAllGoodsList');
    //招募公告
    Route::any('home/recruitNotice', 'HomeController@recruitNotice');
    //排单
    Route::any('home/setDoctorTime', 'HomeController@setDoctorTime');
    //获取排单
    Route::any('home/getDoctorTimeList', 'HomeController@getDoctorTimeList');
    //添加/编辑回复语
    Route::any('home/addAutoReply', 'HomeController@addAutoReply');
    //回复语列表
    Route::any('home/getAutoReplyList', 'HomeController@getAutoReplyList');
    //删除回复语
    Route::any('home/delAutoReply', 'HomeController@delAutoReply');
    //添加回复
    Route::any('home/addReplyContent', 'HomeController@addReplyContent');
    //售后详情
    Route::any('order/getAfterSalesDetail', 'OrderController@getAfterSalesDetail');
    //拒绝售后
    Route::any('order/rejectReason', 'OrderController@rejectReason');
    //同意售后
    Route::any('order/agree', 'OrderController@agree');
    //发货
    Route::any('order/delivery', 'OrderController@delivery');
    //取消订单
    Route::any('order/cancel', 'OrderController@cancel');
    //催发货
    Route::any('order/urgeDelivery', 'OrderController@urgeDelivery');
    //获取退货地址
    Route::any('order/getReturnAddress', 'OrderController@getReturnAddress');
    //获得工作室订单列表
    Route::any('goods/getWorkroomGoods', 'GoodsController@getWorkroomGoods');
   //设置上下架
    Route::any('goods/setWorkroomGoodsRack', 'GoodsController@setWorkroomGoodsRack');
    //发布商品
    Route::any('goods/addGoods', 'GoodsController@addGoods');
  //删除商品
    Route::any('goods/delGoods', 'GoodsController@delGoods');
    //获取商品
    Route::any('goods/getGoods', 'GoodsController@getGoods');
    //系统消息
    Route::any('home/getSystemMessage', 'HomeController@getSystemMessage');
    //系统消息详情
    Route::any('home/getSystemMessageDetail', 'HomeController@getSystemMessageDetail');
    //在线咨询设置
    Route::any('home/onlineConsultSetting', 'HomeController@onlineConsultSetting');
    //获取咨询设置
    Route::any('home/getOnlineConsultDetail', 'HomeController@getOnlineConsultDetail');
    //医护端==医生加时
    Route::any('order/addTime', 'OrderController@addTime');
    //医护端==咨询管理==确认接单
    Route::any('order/confirm', 'OrderController@confirm');
    //医护端==咨询管理==开始咨询
    Route::any('order/startConsult', 'OrderController@startConsult');
    //医护端==咨询管理==患者详情
    Route::any('order/patientDetail', 'OrderController@patientDetail');
    //通过群id获取剩余时间
    Route::any('order/getTimeByGroupId', 'OrderController@getTimeByGroupId');
    //医护端==总账单
    Route::any('home/getAllTotal', 'HomeController@getAllTotal');
    //医护端==总账单
    Route::any('home/getAllStatementList', 'HomeController@getAllStatementList');
 //医护端==echart图数据
    Route::any('home/getEchartMapData', 'HomeController@getEchartMapData');

    //医护端==扫码注册同步通讯录
    Route::any('addressbook/addBook', 'AddressBookController@addBook');
    //医护端==通讯录-分组管理-患者详情
    Route::any('addressbook/getAddressBookDetail', 'AddressBookController@getAddressBookDetail');
    //医护端==通讯录==患者列表
    Route::any('addressbook/getAddressBookList', 'AddressBookController@getAddressBookList');
    //医护端==通讯录==患者列表
    Route::any('addressbook/getAddressBookListAndroid', 'AddressBookController@getAddressBookListAndroid');
    //医护端==通讯录==添加标签
    Route::any('addressbook/addAddressBookLabel', 'AddressBookController@addAddressBookLabel');
    //医护端==通讯录==删除标签
    Route::any('addressbook/delAddressBookLabel', 'AddressBookController@delAddressBookLabel');
    //医护端==通讯录==删除用户标签
    Route::any('addressbook/delUserAddressBookLabel', 'AddressBookController@delUserAddressBookLabel');
//    获取用户标签
    Route::any('addressbook/getUserAddressBookLabel', 'AddressBookController@getUserAddressBookLabel');
    //医护端==通讯录==获取标签列表
    Route::any('addressbook/getAddressBookLabelList', 'AddressBookController@getAddressBookLabelList');
    //医护端==通讯录==批量打标签
    Route::any('addressbook/giveLabelToUser', 'AddressBookController@giveLabelToUser');
    //医护端==随访==群发
    Route::any('addressbook/addGroupAssistants', 'AddressBookController@addGroupAssistants');
    //医护端==随访==群发详情
    Route::any('addressbook/getGroupAssistantsDetail', 'AddressBookController@getGroupAssistantsDetail');
    //医护端===随访==群发记录
    Route::any('addressbook/getGroupAssistantsLog', 'AddressBookController@getGroupAssistantsLog');
    //医护端===通讯录==分组管理--患者详情---备注
    Route::any('addressbook/addRemarks', 'AddressBookController@addRemarks');
    //医护端===通讯录==分组管理--患者详情---接诊记录
    Route::any('addressbook/receivePatientLog', 'AddressBookController@receivePatientLog');
    //医护端===自动随访--新建计划
    Route::any('addressbook/addAutoPlan', 'AddressBookController@addAutoPlan');
    //医护端===自动随访--使用模板
    Route::any('addressbook/addAutoPlanByTemplate', 'AddressBookController@addAutoPlanByTemplate');
    //医护端===自动随访--使用模板->android
    Route::any('addressbook/addAutoPlanByTemplateAndroid', 'AddressBookController@addAutoPlanByTemplateAndroid');
    //医护端===自动随访--随访列表
    Route::any('addressbook/getAutoPlan', 'AddressBookController@getAutoPlan');
    //医护端===自动随访--随访详情
    Route::any('addressbook/getAutoPlanDetail', 'AddressBookController@getAutoPlanDetail');
    //医护端===自动随访--随访模板详情
    Route::any('addressbook/getTemplateDetail', 'AddressBookController@getTemplateDetail');
    //医护端===自动随访--随访模板列表
    Route::any('addressbook/getTemplateList', 'AddressBookController@getTemplateList');
//    发送问卷随访
    Route::any('addressbook/addQuestionnaireSurvey', 'AddressBookController@addQuestionnaireSurvey');
    //上传视频
    Route::any('video/doUploadFile', 'UploadVideoController@doUploadFile');
    //获取物流公司编码
    Route::any('logistics/getLogisticsCode', 'LogisticsController@getLogisticsCode');
    //查询发货物流
    Route::any('logistics/getLogisticsInfo', 'LogisticsController@getLogisticsInfo');
    //查询发货物流
    Route::any('logistics/getDeliveryTime', 'LogisticsController@getDeliveryTime');
    //地图轨迹示例
    Route::any('logistics/getMapQuery', 'LogisticsController@getMapQuery');
    //分类列表
    Route::any('home/getBrandList', 'HomeController@getBrandList');
    //环信im创建用户
    Route::any('home/createUser', 'HomeController@createUser');
    //环信im获取用户详情
    Route::any('home/getUser', 'HomeController@getUser');
    //环信im获取用户详情
    Route::any('home/isOnline', 'HomeController@isOnline');
    //环信im获取用户详情
    Route::any('home/getOfflineMessages', 'HomeController@getOfflineMessages');
    //强制下线
    Route::any('home/outLogin', 'HomeController@outLogin');
    //环信im发送文本消息
    Route::any('home/sendTextBySdk', 'HomeController@sendTextBySdk');
    //环信im发送图文消息
    Route::any('home/sendImageBySdk', 'HomeController@sendImageBySdk');
    //环信im发送语音消息
    Route::any('home/sendAudioBySdk', 'HomeController@sendAudioBySdk');
    //环信im发送视频消息
    Route::any('home/sendVideoBySdk', 'HomeController@sendVideoBySdk');
    //环信im发送文件消息
    Route::any('home/sendFileBySdk', 'HomeController@sendFileBySdk');
    //环信im发送文件消息
    Route::any('home/getHistoryAsUri', 'HomeController@getHistoryAsUri');
    //环信同步推送
    Route::any('home/sendSyncPush', 'HomeController@sendSyncPush');
    //环信同步推送
    Route::any('home/sendSinglePush', 'HomeController@sendSinglePush');
    Route::any('home/getPlatformIm', 'HomeController@getPlatformIm');
    //环信im上传文件
    Route::any('home/uploadFileBySdk', 'HomeController@uploadFileBySdk');
   //售后发货
    Route::any('order/addLogisNum', 'OrderController@addLogisNum');
    //订单退款
    Route::any('order/returnMoney', 'OrderController@backMoney');
    //绑定小号ax
    Route::any('call/doBindPhone', 'AxCallController@doBindPhone');
    //绑定小号axb
    Route::any('call/doBindAxbPhone', 'AxCallController@doBindAxbPhone');
    //解绑小号
    Route::any('call/doAxUnbind', 'AxCallController@doAxUnbind');
    Route::any('call/doAxbUnbind', 'AxCallController@doAxbUnbind');


    //支付宝支付
    Route::any('alipay/pay', 'PaymentController@pay');
    //微信支付
    Route::any('wechat/pay', 'WxPayController@setPay');
    Route::any('wechat/returnBack', 'WxPayController@returnBack');

    //testUser
    Route::any('/createuser', 'CreatAdminUserController@index');
    //问卷登录
    Route::any('surveys/register', 'SurveysController@register');
    Route::any('surveys/getToAbility', 'SurveysController@getToAbility');
    Route::any('surveys/addUsertoGroup', 'SurveysController@addUsertoGroup');
    Route::any('surveys/getGroupShareProject', 'SurveysController@getGroupShareProject');
    Route::any('surveys/addGroupShare', 'SurveysController@addGroupShare');




});
Route::any('wechat/testBack', 'WxPayController@testBack');
//支付宝回调
Route::any('alipay/notify', 'PaymentController@notify');
//支付宝返回
Route::any('alipay/return', 'PaymentController@return');
//微信回调
Route::any('wxchat/notify', 'WxPayController@notify');
//微信返回
Route::any('wxchat/return', 'WxPayController@return');
//脚本处理
Route::any('run/start', 'RunController@run');
//处理访问问卷url
Route::any('surveys/handelUserCheakUrl', 'SurveysController@handelUserCheakUrl');

//获取文字敏感
Route::any('index/setRamWord', 'IndexController@setRamWord');





